package org.dhy.elasticsearch.annotate;

import java.lang.annotation.*;

/**
 * @author longye
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Document {

    String index() default "index";

    int shards() default 1;

    int replicas() default 1;
}
